package com.cy.personer.bean;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

@Component
public class ReportitemDetail  implements Serializable {


	private static final long serialVersionUID =  1605658550331845030L;
	/**
	 * 报告项目表跟细项中间表Id
	 */

	private Integer reportDetailId;
	/**
	 * 体检结果
	 */
	private String result;
	/**
	 * 报告项目id
	 */
	private Integer reportItemId;
	/**
	 * 细项id
	 */

	private Integer detailId;
	/**
	 * 提示
	 */
	private String hint;
	/**
	 * 细项
	 */
	private Detail detail;

	public  ReportitemDetail(){super();}

	public Integer getReportDetailId() {
		return reportDetailId;
	}

	public void setReportDetailId(Integer reportDetailId) {
		this.reportDetailId = reportDetailId;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public Integer getReportItemId() {
		return reportItemId;
	}

	public void setReportItemId(Integer reportItemId) {
		this.reportItemId = reportItemId;
	}

	public Integer getDetailId() {
		return detailId;
	}

	public void setDetailId(Integer detailId) {
		this.detailId = detailId;
	}

	public String getHint() {
		return hint;
	}

	public void setHint(String hint) {
		this.hint = hint;
	}

	public Detail getDetail() {
		return detail;
	}

	public void setDetail(Detail detail) {
		this.detail = detail;
	}

	public ReportitemDetail(Integer reportDetailId, String result, Integer reportItemId, Integer detailId, String hint) {
		this.reportDetailId = reportDetailId;
		this.result = result;
		this.reportItemId = reportItemId;
		this.detailId = detailId;
		this.hint = hint;
	}

	@Override
	public String toString() {
		return "ReportitemDetail{" +
				"reportDetailId=" + reportDetailId +
				", result='" + result + '\'' +
				", reportItemId=" + reportItemId +
				", detailId=" + detailId +
				", hint='" + hint + '\'' +
				'}';
	}
}
